# D:\Python1\022\01.集合的结构.py
basket = {'apple', 'orange', 'apple', 'pear', 'orange', 'banana'}
print(basket)

res = 'orange' in basket  # 快速判断元素是否在集合内
print(res)  # True

res1 = 'crabgrass' in basket
print(res1)
